var editor_args_names = ["damage","strength","reappear","camDelay","particle"];
var editor_args_values = [Explosive.prototype.value,Explosive.prototype.strength,Explosive.prototype.reappear,Explosive.prototype.camStallTime,Explosive.prototype.particle];
var editor_args_types = ["number","number","boolean","number","string"];
var editor_args_options = [[-1,1,0.01],[20,10000,20],null,[0,1,0.01],"A-Za-z0-9"];
var editor_args_descriptions = ["","","","",""];
var editor_args_mode = [0,0,0,0,0];
var editor_args_component = ["NumericStepper","NumericStepper","CheckBox","NumericStepper","TextInput"];
function Explosive(damage, strength, regenerate, camDelay, particle)
{
super();
if(damage)
{
this.value = damage;
}
if(strength)
{
this.strength = strength;
}
if(regenerate)
{
this.reappear = regenerate;
}
if(camDelay)
{
this.camStallTime = camDelay;
}
if(particle.length)
{
this.particle = particle;
}
}
function onCollision(obj)
{
if(!this.inScene)
{
return undefined;
}
var _loc3_ = undefined;
(_loc3_ = new Vector(obj.x - this.x,obj.y - this.y,0)).normalize();